package com.imooc.mall.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
public class CartProductDto {

    private Integer productId;

    private Integer quantity;

    private String productName;

    private String productSubtitle;

    private String productMainImage;

    private BigDecimal productPrice;

    private Integer productStatus;

    //总价=quantity*productPrice
    private BigDecimal productTotalPrice;

    private Integer productStock;

    //是否选中
    private Boolean productSelected;


}
